home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7657 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: how do you draw lines in vc++2.0?
  5. Date: 24 Feb 1996 20:52:24 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4gntq8$ofr@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe11.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Feb 23, 1996 22:19:15 in article <how do you draw lines in vc++2.0?>,
  15. '"Sang Hyun Park, Shawn" <sangp+@andrew.cmu.edu>' wrote: 
  16.  
  17. >i was wondering if anyone had experience with programming with graphic 
  18. >functions in msvc++ 2.0.  basically, i need to plot some data points on  
  19. >a chart. i'm trying to find if there is a class function in MFC perhaps 
  20. >to draw lines, ie. connect two separate dots on a graph.     
  21. >can anyone with advice help ?  thank you. 
  22. Are you doing Windows?  If so, look at API functions 
  23. MoveToEx() and LineTo().  In MFC, the CDC class has 
  24. MoveTo() and LineTo() functions, but you may want to 
  25. use Rectangle() instead.  Read about them in VC's 
  26. on-line reference manual. 
  27.  
  28.  
  29. Pete Grant 
  30. Kalevi, Inc. 
  31. Software Engineering & development
  32.